<!DOCTYPE html>
<html style="font-size: 50px;">
<head>
<#include "include/head.html"/>
</head>
<body class="has-hover">
<div class="container hold-top-g">
<#include "include/top.html"/>
    <div class="top-user" id="titlebar">
        <div class="content">
            <div class="inner-box">
                <div class="avatar lt"><img src="${user.img!}"></div>
                <div class="rt">
                    <div class="nickname">${user.name!}</div>
                    <div class="signature"></div>
                </div>
                <div class="meta">
                    <div>
                        <div class="follow">
                            <div>文章</div>
                            <div class="bold">${user.articlenum}</div>
                        </div>
                    </div>
                    <button class="default-btn-r white-btn-r" onclick="location.href = '/member/edit'">编辑个人资料</button>
                </div>
            </div>
        </div>
    </div>
    <div class="content">
        <div class="c-left">
            <div class="section">
                <div>
                    <div class="tabs bb"><a href="#" class="tab">${list?size}个好友</a>
                        <div class="tabs-content">
                            <div class="tab-content" style="">
                                <div class="back-btn link"><i class="iconfont icon-fanhui"></i> ${list?size}个好友</div>
                                <div class="section tab-section">
                                <#list list as item>
                                    <div class="section-box-v">
                                        <div class="s-image2"><a href="#"><img
                                                src="${item.img!}"></a></div>
                                        <div class="s-meta2 s-part2">
                                            <div class="title"><a href="#">${item.name!}</a></div>
                                        </div>
                                        <div class="s-part3 text-t4-2"><span>${item.articlenum!0}</span> 篇文章</div>
                                        <button class="default-btn-r gray-btn-r" onclick="if(confirm('确定要删除吗？')){location.href='/friend/del/${item.id}'}">删除</button>
                                    </div>
                                </#list>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>